package com.app.system.permission.en;

/**
 * 状态枚举
 * Created by ZYK on 2020/6/14.
 */
public enum Status {
    //可用状态，一般用于是否启用、是否可用等
    YES("是、有效、热更新、立即更新、PC端", 1),
    NO("否、无效、整包更新、不更新、手机端", 2);

    // 成员变量
    private String name;
    private int index;

    // 构造方法
    private Status(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
